#ifndef YIGCURSOR_H
#define YIGCURSOR_H

#include <QGraphicsPixmapItem>
#include <QLabel>
/**
*   @class YigCursor displays the position of the mouse for the other users
*/
class YigCursor : public QGraphicsPixmapItem
{

public:

    /**
    *   YigCursor constructor
    *   @param QString the name of the user who controls the cursor
    */
    YigCursor(QString _userName);

private:

    /** name of the user who owns this cursor, displayed with the cursor */
    QGraphicsSimpleTextItem userName;
};

#endif // YIGCURSOR_H
